<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!--设置一个网站小图标 link:favicon -->
    <link rel="shortcut icon" href="家.png" type="image/x-icon">

    <!--引入下载的css文件-->
    <link rel="stylesheet" href="css/iconfont.css">
    <style>
        li {
            list-style-type: none;
        }

        li i {
            color: red;
            margin-right: 3px;
        }
        .icon-wode1{
            font-size: 30px;
            color: pink;
        }
        .icon-home{
            font-size: 30px;
            color: pink;
        }
    </style>
</head>
<body>
<!--设置图标字体-->
<!--类名必须 iconfont开头-->
<button><span class="iconfont icon-home"></span></button>
<ul>
    <li><i class="iconfont icon-wode1"></i>列表内容1</li>
    <li><i class="iconfont icon-jiaocai"></i>列表内容2</li>
    <li><i class="iconfont"></i>列表内容3</li>
    <li>列表内容4</li>
</ul>
<div class="iconfont icon-faxian1"></div>
<div class="iconfont">&#xe632;</div>
</body>
</html>